<template>
    <div class="redbook">
        <mt-input v-model="keyword" placeholder="请输入关键字"></mt-input>
        <mt-button @click="runBusiness">运行</mt-button>
    </div>
</template>

<script>
export default {
    name: "Redbook",

    data () {
        return {
            keyword: "老马宝莉"
        };
    },

    created () {},

    mounted () {},

    methods: {
        runBusiness () {
            const params = {
                keyword: this.keyword,
                maxNotes: 1
            };
            this.$request.post(this.API.BUSINESS_REDBOOK_PHOTO, params).then(res => {
                console.log(res);
            });
        }
    }
}
</script>

<style lang="scss">
</style>